/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.only5.manager.impl;

import edu.uoc.tdp.pac4.only5.manager.DatabaseConnectionManager;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 *
 * @author Gerard
 */
public abstract class AbstractManager extends UnicastRemoteObject {
    
    private DatabaseConnectionManager databaseConnectionManager;

    public AbstractManager() throws RemoteException {
    }
    
    public AbstractManager(DatabaseConnectionManager databaseConnectionManager) throws RemoteException {
        super();
        this.databaseConnectionManager = databaseConnectionManager;
    }

    public DatabaseConnectionManager getDatabaseConnectionManager() {
        return databaseConnectionManager;
    }
    
    
}
